FROM nginx:alpine

COPY nginx/conf.d/ /etc/nginx/conf.d/
COPY nginx/nginx.conf /etc/nginx/
COPY nginx/ssl/ /ssl/
COPY gosun-smart/ /usr/share/nginx/html/gosun-smart/

RUN chmod 777 /usr/share/nginx/html* -R && \
    rm -rf /etc/localtime && \
    ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime


